package com.model;

/**
 * @ClassName: AuthRule
 * @Description: 权限管理规则模型类
 * @author 陈靖
 * @date 2017-1-17 下午1:37:10
 */
public class AuthRule {
	private Integer id;
	private String name;
	private String title;
	private Integer type;
	private Integer status;
	private String condition;
	private Integer mid;
	private Integer isShow;
	private String moduleName;

	/**
	 * @Title: get&set
	 * @Description: get&set方法
	 */
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public Integer getMid() {
		return mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	/**
	 * Title: AuthRule Description: no parameter constructor
	 */
	public AuthRule() {
		super();
	}

	/**
	 * Title: AuthRule Description: constructor
	 * 
	 * @param name
	 * @param title
	 * @param condition
	 * @param mid
	 */
	public AuthRule(String name, String title, String condition, Integer mid) {
		super();
		this.name = name;
		this.title = title;
		this.condition = condition;
		this.mid = mid;
	}

	/**
	 * Title: AuthRule Description: constructor
	 * 
	 * @param id
	 * @param name
	 * @param title
	 * @param condition
	 * @param mid
	 */
	public AuthRule(Integer id, String name, String title, String condition,
			Integer mid) {
		super();
		this.id = id;
		this.name = name;
		this.title = title;
		this.condition = condition;
		this.mid = mid;
	}

	/**
	 * Title: AuthRule Description: constructor
	 * 
	 * @param id
	 */
	public AuthRule(Integer id) {
		super();
		this.id = id;
	}

	public AuthRule(Integer mid, String moduleName) {
		this.mid = mid;
		this.moduleName = moduleName;
	}

}
